<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<h2 class="contentTitle">出资方修改</h2>
<div class="pageContent">
	<form method="post" action="${rootPath }/back/system/investorUpdateSubmit.htm"
		class="pageForm required-validate"
		enctype="multipart/form-data"
		onsubmit="return iframeCallback(this,navTabAjaxDone);">
		<!-- 关闭当前的页面 -->
		<input type="hidden" name="callbackType" value="closeCurrent">
		<input type="hidden" name="navTabId" value="investorList">
		
		<input type="hidden" name="id" value="${requestScope.investor.id}">
		<div class="pageFormContent nowrap" layoutH="97">

			<dl>
				<dt>code</dt>
				<dd>
					<input type="text" name="code"  class="required"
						value="${requestScope.investor.url }" alt="请输入您的code" /> <span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>名称</dt>
				<dd>
					<input type="text" name="name"  class="required"
						value="${requestScope.investor.name }" alt="请输入您的名称" /> <span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>网址</dt>
				<dd>
					<input type="text" name="url" class="required" alt="请输入您的网址"
						value="${requestScope.investor.url }" /> <span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系人姓名</dt>
				<dd>
					<input type="text" name="contactName" class="required"
						value="${requestScope.investor.contactName }" alt="请输入联系人姓名" /> <span
						class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系人电话</dt>
				<dd>
					<input type="text" name="contactPhone" class="phone"
						value="${requestScope.investor.contactPhone }" alt="请输入您的电话" /> <span
						class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>总单数量</dt>
				<dd>
					<input id="w_validation_pwd" type="text"
						value="${requestScope.investor.totalNum }" name="totalNum"
						class="digits" /> <span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>成功数量</dt>
				<dd>
					<input type="text" name="succedNum" readonly="readonly"
						value="${requestScope.investor.succedNum }" class="digits" /> <span
						class="info"></span>
				</dd>
			</dl>

			<dl>
				<dt>合作类型</dt>
				<dd>
					<input id="investorCoopType0" type="radio" name="coopType" 
						value="0" ${requestScope.investor.coopType == 0?'checked':'' } /><label
						style="float: none" class="admins_insert" for="investorCoopType0">直通</label>
					<input id="investorCoopType1" type="radio" name="coopType"
						value="1" ${requestScope.investor.coopType == 1?'checked':'' } /><label
						style="float: none" class="admins_insert" for="investorCoopType1">非直通</label>
				</dd>
			</dl>
			<dl>
				<dt>状态</dt>
				<dd>
					<input id="investorStstus0" type="radio" name="status" value="0"
						${requestScope.investor.status == 0?'checked':'' } /><label
						style="float: none" class="admins_insert" for="investorStstus0">禁用</label>
					<input id="investorStatus1" type="radio" name="status" value="1"
						${requestScope.investor.status == 1?'checked':'' } /><label
						style="float: none" class="admins_insert" for="investorStatus1">启用</label>
				</dd>
			</dl>
			<dl>
				<dt>LOGO</dt>
				<dd>
					<img alt="原始头像" width="100" src="${rootPath}${investor.logo}">
				</dd>

			</dl>
			<dl>
				<dt>LOGO：</dt>
				<dd>
					<input type="file" name="file" /> <span class="info"></span>
				</dd>
			</dl>
			<textarea class="editor" name="content" rows="8" cols="100"
				upLinkUrl="upload.php" upLinkExt="zip,rar,txt" upImgUrl="upload.php"
				upImgExt="jpg,jpeg,gif,png" upFlashUrl="upload.php" upFlashExt="swf"
				upMediaUrl="upload.php"upMediaExt:"avi">
				<%-- ${rootPath }${investor.logo}
				${requestScope.investor.content } --%>
			</textarea>
			<div class="divider"></div>
			<p>自定义扩展请参照：dwz.validate.method.js</p>
			<p>错误提示信息国际化请参照：dwz.regional.zh.js</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>

</div>


<script type="text/javascript">
	function customvalidXxx(element) {
		if ($(element).val() == "xxx")
			return false;
		return true;
	}
</script>
